<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:text="${msg}"></h1>

<div shiro:hasPermission="user:add">
进入用户添加功能：<a href="add">用户添加</a><br>
</div>
<div shiro:hasPermission="user:update">
进入用户编辑功能：<a href="update">用户更新</a><br>
</div>

</body>
</html>